from info.modules.index import index_blue
from info import redis_store


@index_blue.route('/', methods=['GET', 'POST'])
def hello_world():
    # 测试redis存储数据
    redis_store.set("name", "laowang")
    print(redis_store.get("name"))
    # # 测试session存取
    # session['name'] = "zhangsan"
    # print(session.get("name"))
    return 'Hello World!'
